package com.hx.demo28.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.hx.demo28.dao.BokeDao;
import com.hx.demo28.pojo.BoKe;
import com.hx.demo28.service.BokeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BokeServiceImpl implements BokeService {
    @Autowired
    private BokeDao bokeDao;


    @Override
    public int  addfindById(BoKe boKe) {
        int insert = bokeDao.addfindById(boKe);
        return insert;
    }

    @Override
    public List<BoKe> findAllBy() {

        return bokeDao.findAll();
    }


}
